import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SCrossTowerInfo
    
    export  class SCrossTowerInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SCrossTowerInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.killBossNum);
            arg1.writeInt(this.totalBossNum);
            arg1.writeInt(this.floor);
            arg1.writeBool(this.finished);
            arg1.writeDate(this.leftDt);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.killBossNum = arg1.readInt();
            this.totalBossNum = arg1.readInt();
            this.floor = arg1.readInt();
            this.finished = arg1.readBool();
            this.leftDt = arg1.readDate();
            return;
        }

        public /* const */_type: int=2030;

        public /* var */killBossNum: int;

        public /* var */totalBossNum: int;

        public /* var */floor: int;

        public /* var */finished: Boolean;

        public /* var */leftDt: Date;

        public static /* var */_regist: SCrossTowerInfo;
    }

            SCrossTowerInfo._regist = new SCrossTowerInfo(true);
        